package com.test.impl;

import com.test.interfaces.parentface.JarRuleParentFace;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

/**
 * 功能概述:
 *
 * @author maoxiaomeng
 * @date 2022/10/8 11:18
 */
@Api(tags = "jar包规则B")
public class JarRuleImplB implements JarRuleParentFace {

    @ApiOperation("两数相加")
    public Integer sum(@ApiParam("数字1") Integer num1, @ApiParam("数字2") Integer num2) {
        return num1 + num2;
    }

    @ApiOperation("字符串合并")
    public String concat(@ApiParam("字符串A") String str, @ApiParam("字符串B") String str2) {
        return str + str2;
    }
}
